﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ArmoryData.Character
{
    public class Member
    {
        public string BattleGroup { get; set; }
        public Uri CharUrl { get; set; }
        public string Class { get; set; }
        public int ClassId { get; set; }
        public int Contribution { get; set; }
        public int GamesPlayed { get; set; }
        public int GamesWon { get; set; }
        public string Gender { get; set; }
        public int GenderId { get; set; }
        public string Guild { get; set; }
        public int GuildId { get; set; }
        public string Name { get; set; }
        public string Race { get; set; }
        public int RaceId { get; set; }
        public int SeasonGamesPlayed { get; set; }
        public int SeasonGamesWon { get; set; }
        public int TeamRank { get; set; }

        public override string ToString()
        {
            return string.Format("{0}\t{1}\t{2}\t\t{3}", Name, GamesPlayed, string.Format("{0}-{1}", GamesWon, GamesPlayed - GamesWon), Contribution); 
        }
    }
}
